Methods and apparatus for identifying a digital audio signal

ABSTRACT

Methods and apparatus for identifying a digital audio signal are described. An example apparatus for identifying a digital audio signal includes an input to receive the digital audio signal, which includes data from a broadcast or a stored digital program signal. The example apparatus also includes a detector to receive the digital audio signal from the input and determine whether the received digital audio signal is uncompressed as received at the input; a decoder to receive the digital audio signal from the detector when the digital audio signal is compressed as received at the input and identify any first program-identifying code in an auxiliary field of the compressed digital audio signal; and a code reader to receive the digital audio signal from the detector when the digital audio signal is uncompressed as received at the input and receive the digital audio signal from a decompressor when the digital audio signal is compressed as received at the input. Additionally, the code reader is to identify any second program-identifying code in a decompressed or uncompressed portion of the digital audio signal when the first program-identifying code is not identified in the auxiliary field or when the digital audio signal is uncompressed as received at the input.

RELATED APPLICATIONS

This application is a continuation of application Ser. No. 10/492,471, filed Apr. 12, 2004, which is a national stage entry of PCT/US02/32043, filed on Oct. 9, 2002, which claims the benefit of U.S. patent application Ser. No. 09/973,893, filed on Jan. 8, 2002, all of which are incorporated by reference herein in their entireties.

FIELD OF THE DISCLOSURE

The present invention relates to method and apparatus for identifying a program signal that is broadcast to members of an audience. More particularly, the present invention relates to method and apparatus for identifying a program signal having a digital audio component. Preferably, such method and apparatus will find use in audience measurement and/or broadcast monitoring services.

RELATED ART

Third party measurements are typically used in the broadcasting industry to verify that program elements (e.g., commercials) are disseminated in accordance with contractual arrangements, and to estimate the size and composition of the audience. One measurement technique involves reading an ancillary encoded identification label or signal that is transmitted with the program. Another measurement technique involves extracting characteristic features (commonly called “signatures”) from the program, and then comparing the extracted features with a library of features from known program elements.

There is some degree of overlap in the code and signal processing between the above two techniques. If a broadcast program is encoded with a label associating it with a final distributor of the program (e.g., a local news broadcast labeled as such by the originating station), that label may be essentially self-attesting, or may be interpreted by recourse to a master look-up table. On the other hand, if the encoded label only identifies an originator or intermediate distributor (e.g., a syndicated program labeled only with the program name and episode number), then it may be necessary to compare that label with a library of labels collected from a number of local stations, in order to identify the station that transmitted the program in question.

U.S. Pat. No. 5,481,294 to Thomas et al. (incorporated herein by reference) discloses apparatus and method whereby a program signal that is to be identified is initially processed to extract an ancillary identifying code. If the code is found, it is stored along with the time at which it was received or otherwise selected by the user (known as the “read time”) in a memory for subsequent transmission to a central data collection and processing facility. If no code is found, a signature is extracted from the program signal, stored as a time-stamped record in the memory, and subsequently communicated to the central facility where it is compared with similar signatures extracted from known programs at monitoring facilities that may be remote from the central facility.

A television measurement system of the sort taught by Thomas et al. may employ codes written into either the video or audio components of the composite broadcast signal, and also may extract signatures from either the video or audio portion of that signal. Moreover, one may configure a system of this sort to extract signatures from a program signal even when an identifying label or code is read. An arrangement of this sort can provide signature data to provide “fill-in” identification at times between sequential transmissions of an audio code.

Also of note is the identification tag reading system disclosed in U.S. Pat. No. 6,202,218 to Ludtke (incorporated herein by reference). The disclosed measurement system is embedded in an in-home entertainment network having consumer electronic equipment adapted to communicate with other such equipment by means of an IEEE 1394 serial interface. Ludtke discloses an arrangement in which a program-identifying label received with a broadcast data stream that is used in the household is read, interpreted, and forwarded to a remote data collection entity.

The advent of digitally-transmitted television signals has had a profound impact on systems for both verifying broadcasts and for determining audience viewing preferences (in dwellings statistically selected to participate in a television audience measurement). For example, some video encoding arrangements that work well with analog video signals are incompatible with digital transmission because such codes, if present on an original analog signal, do not survive the data compression that is part of the process of converting the analog video signal to a digital one. Moreover, there are a variety of applicable digital transmission standards and a variation in the extent to which broadcasters adhere to those standards. For example, in 2001, the U.S. market faced several digital transmission standards: one for over-the-air terrestrial transmission, one for cable distribution, and one for satellite-to-end-user transmission.

Although the audio component of the overall program signal generally utilizes far less valuable bandwidth than does the video component, there is variation among digital audio standards. The ATSC (Advanced Television Systems Committee) standard, for example, mandates the use of what is called AC-3 audio, which could also be carried by direct satellite and cable systems. In 2001, the majority of satellites (Direct Broadcasting Satellite—DBS) and digital cable system were not using AC-3 sound. For example, some U.S. UBS used a standard referred to as Musicam or MPEG1 Layer 2 audio. Other standards, such as the Japanese AAC (Advanced Audio Coding) standard using MPEG2, Layers 1-3, are also known. Of course, many programs are still in a linear PCM format.

Generally speaking, the compressed audio formats call for each audio signal stream to be formatted into frames, where each frame can be configured as a string of packets that can be broadcast at a single frequency, or in a single channel with other audio streams by means of time domain multiplexing. For example, MPEG breaks each frame into a set of fixed-duration packets (where each packet has a header) for multiplexing audio and video bitstreams in one stream with the necessary information to keep the streams synchronized when decoding. Each audio frame is autonomous and contains all the information necessary for decoding so that it can be processed independently of previous or subsequently transmitted frames. Although the length of a frame may vary, depending on the bit rate and sampling frequency, there is a maximum allowed frame length, and smaller frames (i.e., those arising from lower fidelity audio signals) may be padded with dummy data in order to provide a fixed interval between frame headers.

Many of the compressed audio standards set aside portions of selected packets for the transmission of auxiliary data (e.g., signal identification data) that is not part of the audio signal. Moreover, almost all such standards provide for the use of padding bytes in order to provide a fixed interval between frame headers. These padding bytes can, in some cases, be used for the purpose of adding an ancillary program identification label even if a defined auxiliary data field is not provided for in a given standard. Thus, it is expected that in at least the great majority of packetized digital audio broadcasting systems, a program-identifying label can be added to a predetermined portion of a packet or frame.

Consumer electronic equipment for receiving digital broadcasts typically have a standard digital audio output from the receiver to the consumer's digital audio equipment. The receiver may comprise a digital tuner in a set-top box that provides an analog output to an NTSC receiver, a digital television receiver and display, or any of a number of other known audio receivers. Moreover, the use of digital audio equipment has made it common for the consumer digital receiver to supply a digital audio output even if the input to the receiver is an analog broadcast signal or an input from an analog VCR. That is, the consumer's receiving apparatus (that is to be monitored) may be used not only for receiving both analog and digital broadcast program signals, but also for selecting a program signal source from a number of possible local sources such as DVD or CD players.

The industry-standard design for providing a digital audio output signal for use by digital audio equipment is known as the Sony-Philips Digital Interface (SP/DIF). The signal available at an SP/DIF connector may be either a uncompressed linear PCM (Pulse Code Modulated) digital signal having a bit rate of no more than 64 kbit/sec, or may be a non-linear PCM encoded audio bitstreams, such as, in the AC-3 format and having a bit rate of 384 kbit/sec.

Thus, what is needed is a digital signal recognition system which is capable of accurately and reliably recognizing digital audio signals in all of the various configurations and implementations described above.

SUMMARY

It is an object of the present invention to provide method and apparatus for processing received digital audio signals, transmitted through a wide variety of media, to ensure accurate recognition.

According to a first aspect of the present invention, digital audio signal recognition apparatus includes an input connector for direct connection to a standard SP/DIF output connector on consumer digital television receiving equipment. The apparatus includes structure for processing the input digital audio signal to obtain one or more of: (i) an identifying label encoded in a portion of a digital audio frame; (ii) an identifying label code embedded in a decompressed audio signal; (iii) a copy of a selected portion of a frame (e.g., a checksum portion); and (iv) a copy of a selected portion of the decompressed digital audio signal. Preferably, the apparatus also has an SP/DIF output connector and provides a repeated copy of the input digital audio signal at that output, so that the user can use the audio and video equipment without interference by the signal recognition process.

According to another aspect of the present invention, a method of collecting tuning data from digitally transmitted program signals comprise an initial step of obtaining the digital audio signal associated with the program, using a SP/DIF connection. If that signal is a non-linear, PCM encoded audio bitstream signal, an attempt may be made to read a first type of program-identifying label from an auxiliary message portion of the digital signal or to select a predetermined selected portion of the signal frame as a first candidate signature. In addition, the input signal may be decompressed and the measuring equipment may attempt to read a second type of program-identifying label distributed as a code embedded in the audio signal or to generate a second candidate signature from a predetermined part of the decompressed audio signal. Of course, if the signal at the SP/DIF connection is an uncompressed, or a linear PCM, or already a decompressed digital audio signal, the second label and the second candidate signature can be collected without an intermediate decompression step. On the other hand, if the first label and the first candidate signature are present, they can be collected too.

According to yet another aspect of the present invention, a method of collecting tuning data includes the steps of obtaining an input digital audio signal at an SP/DIF connection, and processing the input signal in four parallel paths to obtain up to four identification data. The identification data may comprise (i) any program-identifying label that is present in the compressed audio signals, (ii) any program-identifying label that is present in the decompressed audio signals, (iii) a first candidate signature from the input signal (if it is in a compressed audio format), and (iv) a second candidate signature from the decompressed audio. All of the four possible identification data that are collected at each measurement time are assembled to form a time-stamped record that may be communicated to a store-and-forward apparatus. The store-and-forward apparatus stores in a memory at least some of the time-stamped records sent to it, and subsequently forwards the stored records to a central data collection facility. It will be clear to those skilled in the audience-measurement arts that not all of the collected data (e.g., data collected during a time when the television is turned off, or data that supports a temporal resolution finer that what is called for in the measurement) is of value, and that the triage operation performed by the store-and-forward apparatus, or by some other portion of the measurement system installed a user dwelling, reduces the cost of storing and communicating data.

According to a further aspect of the present invention, a digital signal recognition system comprises monitoring equipment tuned to all the broadcast signal sources that can be viewed in statistically selected dwellings. Preferably, the monitoring equipment collects and stores all of the first and second program-identifying labels that are present in the signal, as well as extracting reference versions of both the first and second signatures. These data are stored as time-stamped records where the interval between data collection times is the smallest acceptable interval in any of the measurements for which the data are to be used. For example, if data from a monitoring site are to be used in both an audience measurement having a minimum reportable viewing interval of ten seconds and in a commercial broadcast verification study having a contractual resolution of one half second, the monitoring site will collect data with a one half second resolution. Regardless of the resolution involved, a central facility periodically retrieves data from both one or more monitoring sites and from some predetermined number of selected dwellings, and compares the various signatures and intermediate codes in order to identify the program signals selected by the sampled audience members.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a data structure diagram of a SP/DIF bitstream where AC-3 audio data, and ID label and signature for audience research are located or extracted.

FIG. 2 is a system-level block diagram of a preferred measurement system according to an embodiment of the present invention.

FIG. 3 is a block diagram of the measurement equipment depicted in FIG. 2.

FIG. 4 is a logic diagram depicting a main loop of a program executed by a tuning measurement apparatus of the invention.

DETAILED DESCRIPTION OF THE PRESENTLY PREFERRED EXEMPLARY EMBODIMENTS

1. Introduction

While the present invention will be described with respect to television audience monitoring (e.g., Nielsen television rating) systems, it should be understood that the present invention applies equally well to radio audience monitoring, Internet audience monitoring, radio/TV commercial verification, copyright royalty collection, etc. As used herein, the term “program signal” refers to segments of various lengths such as all or parts of programs, commercials, promotional messages, public service announcements, and the like, as well as signals generated from consumer program signal storage equipment such as video cassette recorders (analog or digital), CD players, VCD players, DVD players and the like.

Briefly, the preferred embodiment receives a digital program signal and analyzes it in one or more of four different ways. First, the preferred embodiment can identify any program-identifying label that is present in compressed digital audio signals. Second, the preferred embodiment can identify any program-identifying label that is present in decompressed audio signals. Third, the preferred embodiment can identify a first candidate signature from the input signal (preferably when it is in a frame format). And fourth, the preferred embodiment can identify a second candidate signature from the decompressed audio signals. One or more of these identifications are stored in a time-stamped record which may be used immediately, or at a later time, to verify transmitted information or measure audience participation.

2. The Signal Format

FIG. 1 depicts how AC-3 and Nielsen data fit within a SP/DIF bitstream. As depicted in FIG. 1, a SP/DIF bitstream signal 10 (as an example, here the audio is compressed in AC-3 format) is formatted based on IEC 60958 standard of International Electrotechnical Commission. It comprises a sequence of fixed-length frames 12. Each frame contains two sub-frames 13. Each of the sub-frame comprises a Preamble field 14, a Auxiliary data field 15, the data field 16 that is delivered by complying with IEC 61937 standard later, and the Status field 17. According to IEC 61937, a data burst is comprised of many IEC 60958 data fields 16. Data bursts are separated by Stuffing 20. The length of data burst is variable. Each data burst comprises a Header 21, Burst Information 22, Length 23, and a Payload 24 whose length is indicated by Length 23. Here the payload is carrying the AC-3 data. The Payload comprises SI 25, BSI 26, a number of Audio Blocks 27, and Aux data field 28, and finally, CRC2 29 which is the CRC for the entire AC-3 Frame. The last two sections are employed according to the present invention in order to conduct media research that includes measuring viewing information of the audience and monitoring programs.

The Stuffing 20 between data bursts is all zeros, however it must be noted that the IEC60958 frames still contain preamble, channel status bits, validity bits, etc. Bits 12-27 are zero. The stuffing between data bursts is used to maintain the proper synchronization of the audio out since the data channel has a capacity of a higher data rate than is necessary to convey the compressed audio content. In the “worst case” scenario, where the capacity of the data rate is fully utilized, there would be no spare Stuffing space left. However, according to statistical data from real audio contents, there typically are Stuffings available that can be altered and used for delivering additional viewing activity information from the receiver to the outside, by a resident software meter preinstalled inside the receiver. The viewing activity information can be a detailed description of what the audience (viewer) is doing with the receiver and what the receiver is doing accordingly.

In the case of digital television, video and audio data in compressed form are carried in a bit-stream using a format specified by the Advanced Television Standards Committee (ATSC). The audio data uses Dolby's AC-3 compression algorithm and the AC-3 bit-stream contains, besides the actual audio data, headers containing additional information such as synchronization, timing and sampling rate. The AC-3 stream is organized into frames and each frame contains sufficient data to reconstruct audio corresponding approximately to the duration of video frame. Each frame has a fixed size in terms of total number of 16-bit words. At the end of a frame in addition to a Cyclic Redundancy Check (CRC2 in AC-3 terminology) word designed to detect errors in the reception of the frame, there is a reserved field for inserting auxiliary data (AUXDATA). Use may be made of the AUXDATA field to carry program and station information relevant to TV audience metering. Preceding AUXDATA are two fields: AUXDATAE is a 1-bit flag which indicates valid AUXDATA is present and AUXDATAL is a 14-bit field which indicates how many bits of auxiliary data are present.

In the case of 48 kHz-sampled audio with 16-bits per sample, each AC-3 frame represents, in a compressed form, 6 “blocks” of audio. Each block is derived from 256 samples per channel. The number of channels can vary between 1 in the case of monophonic audio to 6 for the case of “5.1 channel surround sound”. A multi-pass algorithm attempts to compress the data from each 256-sample block of audio in order to minimize the number of bits required to represent it. Since the frame size is fixed, at the end of the optimization process several bytes are usually available as “surplus”—in the bit stream these are defined by SKIPLE—if this bit is a “1” it means there are dummy bytes packed into the stream. Following this there is a 9-bit number SKIPL, which defines the number of bytes to skip at this point in the stream.

Most current AC-3 bit-stream generators do not make use of the auxiliary data field and as a result AUXDATAE is set to 0. In such cases, in order to utilize the AUXDATA feature, the stream may be modified by at first examining each frame to determine the total number of SKIP bytes present in the frame. These will occur at the end of each block. These will be used to create the necessary space for AUXDATA at the end of the frame. By appropriately modifying the SKIPL values at the end of each block and repacking the bits, a desired amount of space can be created for AUXDATA. In the event adequate bits to meet the AUXDATA requirements are not present, no change to the frame is made and AUXDATAE is set to 0. It may be noted that depending on the nature of the audio, not every frame will be capable of carrying auxiliary data. Indeed the Cyclic Redundancy Check words CRC1 and CRC2 have to be recomputed after these changes are made.

3. The Signal Identification Techniques

In view of the above discussion, a first technique for identifying a broadcast in a monitoring or audience-measurement system having a clock or other time keeping means operatively associated therewith includes the steps of reading a program-identifying label from an auxiliary data field of a digital audio signal frame 40, and associating the label with the time at which it was read as a time-stamped record that can be stored in a memory for subsequent communication to a central data processing facility. The second technique is similar to the first, but obtains the program-identifying label after decompressing a compressed digital audio signal.

In the first and second techniques, the number of bytes required for a program-identifying label can be relatively small. Thus, it may be possible to add a code to a signal frame even if no auxiliary data field is provided, or if the provided field is pre-empted for some other use. One could encode a program signal by writing the code in non-used portions of the frame—e.g., in padding bytes that are otherwise ignored by the ordinary audio data processing operations.

A third technique for a tuned program signal is to extract a characteristic feature, or signature, from the signal at both a statistically selected tuning site and at one or more monitoring site(s) arranged so as to monitor all broadcast signals that can be received at the tuning site. The candidate signature from the tuning site can then be compared to reference signatures from the monitoring site or sites in order to identify the tuned program by matching the signatures. Correspondingly, the broadcast of repeated program elements can be identified by comparing candidate signatures from a monitoring site with a library of reference signatures. The fourth technique is similar to the third technique, but extracts the candidate signature after decompressing a compressed digital audio signal, or from original uncompressed digital signal.

In the third and fourth techniques, the well-defined data formats used for the transmission of digital signals facilitates the identification of broadcast programs by comparing signatures. One way to compare signatures is to extract a predetermined field from a frame 10 of a digital audio signal at both a measurement site (tuning site and/or monitoring site) and a reference site. In a preferred embodiment of the invention a checksum field (which is commonly a CRC checksum) is read from each digital audio frame and is associated with a read time output from a clock or other time keeping means in a step that forms all or part of a time-stamped record. The CRC is a desirable signature because it comprises a relatively small data field that is variable enough to yield a unique signature. It will be recognized, however, that many other portions of a data frame 10 (e.g., the non-program labeling contents of an auxiliary data field) could equally well be used for this purpose.

The comparison of signatures extracted from analog signals usually requires circuitry or signal processing for handling both (i) temporal errors or drifts, and (ii) changes in the magnitudes of the signals acquired at two different locations. In the case of digital signals, however, the recognition or matching process is considerably simpler. Although the identifying algorithms must provide for “sliding” data blocks relative to each other along a time axis in order to accommodate temporal drifts or other time-keeping errors, there is no corresponding signal amplitude problems inasmuch as two matching signals will be substantially identical bit for bit.

The preferred embodiment of the invention combines all four techniques in reading a program-identifying label from an auxiliary data field of a digital audio signal frame, in reading a program-identifying label of embedded code from a decompressed or uncompressed audio signal, in reading a predetermined portion of the signal frame, in extracting a signature from a decompressed or non compressed audio signal. The labels, if found, and the predetermined portion of the signal frame and the signature are associated with the local time when the frame was read in order to generate a time-stamped tuning record for each frame of digital audio signal that is received. During operation, there may not be all four techniques present at the same time. For example, the original audio signal may be an uncompressed (linear) digital audio signal. Then, only the third and fourth techniques may be employed. Even in a compressed digital signal case, there may be a lack of a program label in an auxiliary data field for various reasons. As long as the system gets at least one label or one signature, they (it) will be associated with the local time when the frame was read in order to generate a time-stamped tuning record for each frame of digital audio signal that is received.

4. The Structure

In a preferred embodiment depicted in FIG. 2, a tuning or verification site 36 comprises a receiver 34, a tuning measurement apparatus 48, a clock or timing device 38, and a storage and forwarding apparatus 52. The tuning measurement apparatus 48 receives a digital audio signal output by a consumer's receiving hardware 34 at an industry-standard SP/DIF connector 50. The tuning measurement apparatus 48 decodes the signal to read a program-identifying label, if any, and to collect a predetermined portion of each signal frame for signature analysis (to be described below). The tuning measurement apparatus 48, the clock or timing device 38, and the storage and forwarding apparatus 52 (FIG. 2) may be embodied in a single computer, or in a plurality of processors, or in hard-wired circuitry. These circuits may also be incorporated into the dwelling set-top box, or as a stand-alone device.

The time-stamped records that are generated by the tuning measurement apparatus 48 are sent to a data storage and forwarding apparatus 52 that stores all or some subset of these records in a memory 44, for subsequent transmission over a public switched telephone network 54 to a central data collection facility 46 by means of a modem 53. It will be recognized that instead of a dial-up modem, other suitable communication means such as a cable modem, or a wireless data link could be used for this purpose.

In more detail, the tuning measurement apparatus 48 is configured to be connected to a SP/DIF connector 50 that is part of a consumer-owned receiving apparatus 34, which may be a digital television receiver, a set-top box feeding an analog signal to an NTSC receiver, or any other such receiving apparatus. As is provided for in industry standards, the signal at the SP/DIF connector may be either a linear PCM (uncompressed) digital audio signal at 64 kbit/sec or less, or a non-linear PCM encoded audio bitstream signal in the AC-3 format and having a bit rate of 384 kbit/sec. Although the standard allows for multiplexed AC-3 streams, the equipment that was initially placed on the market transmitted only one stream. If two or more streams were transmitted, the apparatus of the invention may be configured to select one of the AC-3 streams for decoding. It may be noted for any signal appearing at the SP/DIF connector, the apparatus 48 does not need to deal with the full DTV bitstream, which has a much higher bit rate of 19.2 Mbit/sec. Hence, the preferred embodiment is expected to be both less expensive and more reliable than alternate apparatus that acquires the full DTV signal from within the consumer's receiving equipment.

The records not stored in the memory 44 may be discarded in the interest of using the memory 44 efficiently while still providing the measurement's specified temporal signal granularity. For example, if an audience measurement is made with a guaranteed resolution of fifteen seconds from a digital broadcast signal having an interval of eight milliseconds between frame headers, the memory 44 need only retain one out of every 1875 records taken while the receiving equipment is in active use. Of course, no data need be collected when the equipment is not in use. Hence if the monitored SP/DIF connector always provides an output (e.g., as might be the case if an always-on set-top box digital receiver is used to provide a signal to an NTSC television), a separate on/off sensor 56 can provide an input to the storage and forwarding unit to indicate the time periods during which data are to be collected.

The store-and-forward apparatus 52 in the preferred embodiment assembles time-stamped records from the inputs. As noted previously, the amount of data sent from the measurement apparatus 48, which is preferably taken from each frame of the audio signal, is far in excess of what is required for an audience measurement. Hence, the store-and-forward apparatus 52 may filter the inputs and generate time-stamped records from only some of them. A monitoring site used for measurement, on the other hand, may use essentially the same processes to collect and save all the available data for subsequent comparison with data from a plurality of statistically selected dwellings.

As shown in FIG. 3, in order to avoid attenuating the signal at the receiver output, the apparatus 48 preferably comprises a repeater circuit 64 that provides a repeated signal to a second SP/DIF connector 66 that can be used to furnish signals to other consumer-owned equipment. The signal input to the apparatus 48 is fed to a bit rate detector 68 used to determine whether the signal is a uncompressed (linear) PCM signal or an AC-3 signal, to route the AC-3 signals to a frame decoder 70, and to route uncompressed PCM signals to both a embedded code reader circuit 72 (designed to extract embedded audio codes from the signal) and to a signature extractor circuit 74. If the signal is in the AC-3 format, the frame decoder 70 provides the contents of an auxiliary data field (if one is present) and a copy of a predetermined portion of the frame (e.g., the CRC field) as outputs to a store-and-forward apparatus 52. The frame decoder 70 also has an output to a decompression circuit 76 that supplies a digital signal to the embedded code reader 72 and the signature extractor 74. The signature extractor 74 may supply the candidate signature from the decompressed signal, or the candidate signal from the uncompressed signal to the storage and forwarding apparatus 52.

The preferred embodiment may collect data from a linear PCM audio signal, which may be originally uncompressed, or obtained from the transmitted non-linear PCM encoded audio bitstream signal by a decompression process that is part of the standard operation of recovering the signal that was compressed prior to transmission. The third and fourth techniques mentioned previously can be employed in these kinds of situations.

U.S. patent application Ser. No. 09/116,397, filed Jul. 16, 1998 and assigned to the assignee of this application, and U.S. patent application Ser. No. 09/428,425, filed Oct. 27, 1999, and U.S. patent application Ser. No. 09/543,480, filed Apr. 6, 2000 (each of which is incorporated herein by reference) disclose methods and apparatus for encoding audio signals by spectral modulation. These coding arrangements are selected so that the code survives subsequent compression and decompression and is hence compatible with various digital signal transmission standards. It will be recognized that other coding arrangements that have been (and will be) developed satisfy this process. Hence, the preferred embodiment of the invention attempts to recover an encoded program label from the PCM audio signal, which may be a decompressed audio signal. In other arrangements, of course, audio codes may be recovered from an analog audio signal, such as one recovered from a microphone adjacent a speaker.

As discussed earlier, it is known in the broadcast measurement arts to extract signatures from video and/or audio signals and to compare these with reference signatures extracted by similar means from known program signals. In the preferred embodiment of the invention, a signature is extracted from a linear PCM audio signal, and is stored, with other identification data as a time-stamped tuning record. Although the preferred arrangement calls for extracting this signature from a PCM digital audio data stream, those skilled in the art will recognize that one could also elect to convert the digital audio signal to an analog signal and then extract the signature by methods such as those described in U.S. Pat. Nos. 4,697,209 and 4,677,466, (both of which are incorporated herein by reference).

5. The Process

The preferred embodiment of the invention runs four identification processes on a received signal and generally operates in a parallel fashion, as depicted in the flow chart of FIG. 4. It will be recognized that inasmuch as any one of those processes can yield a positive identification of a program signal, fewer identification processes can also be used. Moreover, instead of collecting all of the identification data all of the time, one could elect to set up a hierarchical collection scheme, such as the one disclosed by Thomas et al. in U.S. Pat. No. 5,481,294 (incorporated herein by reference), that initially looks for a preferred identification datum and collects an alternate datum only if the first one is not available. For example, one could configure a system in which a program label was initially sought in an AUX field 31 of a digital signal frame and in which an embedded code was sought in the decompressed digital audio signal only if the attempt to read the AUX field failed.

Moreover, one could also elect to run multiple identification processes and to then select from among the available data at the time a time-stamped record was assembled (step 42). For example, if a positive identification label was read from an AUX field, that code and the CRC signature could be saved as the time-stamped record. To continue with the example, if no AUX code was found but an embedded code was read, the CRC signature and the embedded code could be saved for retrieval by the central data collection facility.

In FIG. 4, the digital audio signal associated with the program is obtained at the SP/DIF connection in step S1. The program-identifying label is read from the auxiliary data field of a digital audio signal frame in step S2. A checksum field (which is commonly a CRC checksum) is read from each digital audio frame and is associated with a read time output from a clock or other time keeping means 38 in a step S3 that forms all or part of a time-stamped record. If the received digital audio signal is a compressed signal, it is decompressed at step S4. In step S5, an encoded program label is recovered from the decompressed audio signal, PCM audio signal. In step S6, a signature is extracted from a linear PCM audio signal, and is stored, with any other identification data, as a time-stamped tuning record in step S7. While the preferred embodiment conducts four signal identification procedures in parallel, any combination of two or more of these procedures could be conducted in parallel or in series. For example, the process could first determine whether the received signal was compressed, and then invoke the appropriate program-identifying and signature extraction steps. One could also elect to run any combination of these identification procedures, and then select from among the available data at the time the time-stamped record was assembled.

As mentioned previously, the program label (e.g., identifying label) in the aux data field may be encoded by the broadcasters and/or program producers. As an alternative program identifying code, the broadcasters and/or any other participant in the distribution system may also insert PSIP (Program System Information Protocol), and/or Content Identification (Content ID) data, and/or other useful data in the aux data field. As yet another alternative program identifying code, the broadcasters and/or other participant in the distribution system may also copy program related data from bitstream data areas outside the aux data field into the aux data field. The statistical availability of Stuffing can be also utilized to deliver viewing activity information. Furthermore, the SP/DIF standard allows for non-audio data instead of, or in addition to, the non-linear PCM embedded audio bitstreams. The digital signatures and auxiliary codes may be effectively applied to identify or monitor non-audio data that includes Internet and other data transmission applications. All such alternatives are within the scope of the appended claims.

6. Conclusion

Thus, what has been described is a digital audio signal recognition system and method which accurately and reliably detects digital audio signals. The system according to the present invention will find use in verification sites, reference library sites, audience monitoring dwellings, and in any site where the monitoring, storing, and/or comparison of digital audio signals is required.

The individual components shown in block or schematic form in the Drawings are all well-known in the signal processing arts or are described in the documents incorporated herein by reference, and their specific construction and/or operation are not critical to the operation or best mode for carrying out the invention.

While the present invention has been described with respect to what is presently considered to be the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, the invention is intended to cover various modifications and equivalent structures and functions included within the spirit and scope of the appended claims. 

What is claimed is:
 1. An apparatus for identifying a digital audio signal, comprising: an input to receive the digital audio signal, wherein the digital audio signal includes data from a broadcast or a stored digital program signal; a detector to receive the digital audio signal from the input and to determine whether the received digital audio signal is uncompressed as received at the input; a decoder to receive the digital audio signal from the detector when the digital audio signal is compressed as received at the input and to identify a first program-identifying code in an auxiliary field of the compressed digital audio signal; and a code reader to receive the digital audio signal from the detector when the digital audio signal is uncompressed as received at the input and to receive the digital audio signal from a decompressor when the digital audio signal is compressed as received at the input, wherein the code reader is to identify a second program-identifying code in a decompressed or uncompressed portion of the digital audio signal when the first program-identifying code is not identified in the auxiliary field or when the digital audio signal is uncompressed as received at the input.
 2. An apparatus as defined in claim 1, wherein one of the first and second program-identifying codes is selected for storage in a memory.
 3. An apparatus as defined in claim 2, further comprising a transmitter to transmit the selected one of the first and second program-identifying codes to a collection site.
 4. An apparatus as defined in claim 2, wherein the selection of the one of the first and second program-identifying codes for storage in the memory is based on a hierarchy.
 5. An apparatus as defined in claim 1, further comprising a signature extractor to receive the digital audio signal from the detector when the digital audio signal is uncompressed as received at the input and to identify a signature in an uncompressed portion of the digital audio signal.
 6. An apparatus as defined in claim 5, wherein the signature extractor is to receive an uncompressed form of the digital audio signal from the decompressor when the digital audio signal is compressed as received at the input and to identify a signature in a portion of the uncompressed form of the digital audio signal.
 7. An apparatus as defined in claim 1, wherein at least one of the detector, the decoder, or the code reader is disposed in at least one of a dwelling, a verification site, or a monitoring site.
 8. A method for identifying a digital audio signal, comprising: determining, with a programmed processor, whether a received digital audio signal is uncompressed as received at an input, wherein the digital audio signal includes data from a broadcast or a stored digital program signal; providing the digital audio signal to a decoder when the digital audio signal is compressed as received at the input; identifying a first program-identifying code in an auxiliary field of the compressed digital audio signal received at the decoder when the digital audio signal is compressed as received at the input; providing the digital audio signal to a code reader from the detector when the digital audio signal is uncompressed as received at the input; providing the digital audio signal to the code reader from a decompressor when the digital audio signal is compressed as received at the input; and identifying a second program-identifying code in a decompressed or uncompressed portion of the digital audio signal when at least one of (a) the first program-identifying code is not identified in the auxiliary field or (b) when the digital audio signal is uncompressed as received at the input.
 9. A method as defined in claim 8, further comprising selecting one of the first and second program-identifying codes for storage in a memory.
 10. A method as defined in claim 9, further comprising transmitting the selected one of the first and second program-identifying codes to a collection site.
 11. A method as defined in claim 9, wherein selecting the one of the first and second program-identifying codes for storage in the memory is based on a hierarchy.
 12. A method as defined in claim 8, further comprising providing the digital audio signal to a signature extractor from the detector when the digital audio signal is uncompressed as received at the input and identifying a signature in an uncompressed portion of the digital audio signal.
 13. A method as defined in claim 12, further comprising providing an uncompressed form of the digital audio signal to the decompressor from the signature extractor when the digital audio signal is compressed as received at the input and identifying a signature in a portion of the uncompressed form of the digital audio signal.
 14. A tangible computer readable storage medium comprising instructions that, when executed, cause a machine to at least: determine whether a received digital audio signal is uncompressed as received at an input, wherein the digital audio signal includes data from a broadcast or a stored digital program signal; provide the digital audio signal to a decoder when the digital audio signal is compressed as received at the input; identify a first program-identifying code in an auxiliary field of the compressed digital audio signal received at the decoder when the digital audio signal is compressed as received at the input; provide the digital audio signal to a code reader when the digital audio signal is uncompressed as received at the input; provide the digital audio signal to the code reader from a decompressor when the digital audio signal is compressed as received at the input; and identify a second program-identifying code in a decompressed or uncompressed portion of the digital audio signal when at least one of (a) the first program-identifying code is not identified in the auxiliary field or (b) when the digital audio signal is uncompressed as received at the input.
 15. A tangible computer readable medium as defined in claim 14 having instructions stored thereon that, when executed, cause a machine to select one of the first and second program-identifying codes for storage in a memory.
 16. A tangible computer readable medium as defined in claim 15 having instructions stored thereon that, when executed, cause a machine to transmit the selected one of the first and second program-identifying codes to a collection site.
 17. A tangible computer readable medium as defined in claim 15, wherein selecting the one of the first and second program-identifying codes for storage in the memory is based on a hierarchy.
 18. A tangible computer readable medium as defined in claim 14 having instructions stored thereon that, when executed cause a machine to provide the digital audio signal to a signature extractor when the digital audio signal is uncompressed as received at the input and to identify a signature in an uncompressed portion of the digital audio signal.
 19. A tangible computer readable medium as defined in claim 18, wherein the signature extractor is to receive the digital audio signal from the decompressor when the digital audio signal is compressed as received at the input.
 20. A tangible computer readable medium as defined in claim 14, wherein the computer readable medium is disposed in at least one of a dwelling, a verification site, or a monitoring site. 